package com.leapcloud.crm.server.controller;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangzhenyan
 * @date 2018/12/28下午2:35
 */
@RestController
@RequestMapping("/index")
public class HelloController {

  @GetMapping(value = "/test", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
  public String test() {
    return "success";
  }

}
